package edu.hda.pt.utils.connections.rmi;

import java.io.Serializable;

/**
 * Class for creating the data for a stream with RMI.
 * 
 * @author Marc Hammerton
 * 
 */
public class StreamingData implements Serializable {

	private static final long serialVersionUID = -7157428941090362528L;
	private byte[] data;

	/**
	 * Sets the data
	 * 
	 * @param data
	 *            - the data to set
	 */
	public void setData(byte[] data) {
		this.data = data;
	}

	/**
	 * @return the data
	 */
	public byte[] getData() {
		return data;
	}

}
